package com.wnhz.trim.plan.service.service.impl;

import com.wnhz.trim.domain.entity.Picture;
import com.wnhz.trim.plan.service.dao.PictureDao;
import com.wnhz.trim.plan.service.service.PictureSrevice;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class PictureSreviceImpl implements PictureSrevice {
    @Autowired
    private PictureDao pictureDao;

    @Override
    public void addPicture(Picture picture) {
        pictureDao.insert(picture);
    }
}
